<?php
session_start();
if (isset($_SESSION["nic_user"])) {
    header("Location: A2P.php");
    exit();
}
?>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:v="urn:schemas-microsoft-com:vml">
    <head>
        <title>SMSEmpresa - Bienvenido!!!</title> 
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 
        <meta http-equiv="Content-Language" content="es-NI" /> 
        <meta name="description" content="" />
        <meta name="keywords" content="" />
        <style type="text/css">
            .clear{
                float: none;
                clear: both;
            }
            body{
                margin: 0px;
                padding: 0px;
                font-family: Arial;
                color: #3D3D3D;
                text-align: center;
                background: url(images/BG.png) repeat-x; 
            }
            #page_container {
                position: relative;
                margin-left: auto;
                margin-right: auto;
                width: 904px;
                top: -32px;
            }
            #header {
                margin-left: auto;
                margin-right: auto;
                width: 100%;
                height: 155px;
                background: #3f3f3f url(images/top_bg.gif) repeat-x;
                position: relative;
                border-bottom: 1px solid #4a4a4a;
                font-size: 24px;
                color: #FFF;
            }
            #header h1 {
                display: none;
                font-family: Arial, Helvetica, sans-serif;
                font-weight: bold;
                position: relative;
                top: 30px;
                font-size: 40px;
                color: white;
            }
            #header h2 {
                display: none;
                font-family: Arial, Helvetica, sans-serif;
                font-weight: bold;
                font-size: 16px;
                color: #7e7e7e;
            }
            hr#header_stripe {
                height: 12px;
                position: relative;
                top: -14px;
                background-color: #191919;
                border: none;
                color: #191919;
            }
            .panel_button {
                margin-left: auto;
                margin-right: auto;
                position: relative;
                top: 8px;
                width: 173px;
                height: 54px;
                background: url(images/panel_button.png);
                z-index: 20;
                filter:alpha(opacity=70);
                -moz-opacity:0.70;
                -khtml-opacity: 0.70;
                opacity: 0.70;
                cursor: pointer;
            }
            .panel_button img {
                position: relative;
                top: 10px;
                border: none;
            }
            .panel_button a {
                text-decoration: none;
                color: #545454;
                font-size: 20px;
                font-weight: bold;
                position: relative;
                top: 5px;
                left: 10px;
                font-family: Arial, Helvetica, sans-serif;
            }
            .panel_button a:hover {
                color: #999999;
            }
            #wrapper {
                margin-left: auto;
                margin-right: auto;
                width: 900px;
                text-align: center;
            }
            #toppanel {
                position: absolute;
                width: 900px;
                left: 0px;
                z-index: 25;
                text-align: center;

            }
            #panel {
                width: 900px;
                position: relative;
                top: 8px;
                height: 0px;
                margin-left: auto;
                margin-right: auto;
                z-index: 10;
                overflow: hidden;
                text-align: left;
            }
            #panel_contents {
                background: black;
                filter:alpha(opacity=70);
                -moz-opacity:0.70;
                -khtml-opacity: 0.70;
                opacity: 0.70;
                height: 100%;
                width: 904px;
                position: absolute;
            }
            #panel h1 {
                text-align: center;
                font-family: Geneva, Arial, Helvetica, sans-serif;
                color: white;
                font-weight: normal;
                line-height: 35px;
                left: 275px;
                position: absolute;
                top: 10px;
            }
            #panel h2 {
                text-align: center;
                font-family: Geneva, Arial, Helvetica, sans-serif;
                color: #447c6f;
                line-height: 25px;
                font-size: 16px;
                position: absolute;
                top: 50px;
                left: 350px;
            }
            #content {
                margin-left: auto;
                margin-right: auto;
                width: 600px;
                position: relative;
                top: 80px;
                text-align: left;
                color: #545454;
                font-family: Arial, Helvetica, sans-serif;
                font-size: 12px;
                padding-bottom: 30px;
            }
            .border {
                border: 15px #1d1d1d solid;
            }
            img.border {
                float: left;
                margin-right: 15px;
                margin-bottom: 8px;
            }
            img.border_pic {
                border: 15px #1d1d1d solid;
                position: absolute;
                top: 110px;
                float: left;
                margin-left: 150px;
                width: 250px;
                height: 150px;
                z-index: 30;
            }
            div#dvlogin {
                width: 240px;
                height: 130px;
                position: absolute;
                right: 300px;
                top: 110px;
                background: #002666;
                background: -moz-linear-gradient(top, #002666, #297aff);
                background: -webkit-gradient(linear, left top, left bottom, from(#002666), to(#297aff));
                text-align: justify;
                padding-left: 10px;
                padding-top: 15px;
            }
            div#dvlogin label{
                display: block;
                float: left;
                width: 110px;
            }
            div#dvlogin p {
                display: block;
                position: relative;
                margin: 0px;
                padding: 7px 0px;
                color: #CCCCCC;
                font-family: Century Gothic, Georgia, "Times New Roman", Times, serif;
                line-height: 25px;
            }
            div#dvlogin input#password,div#dvlogin input#login {
                position: relative;
                display: block;
                width: 110px;
                padding: 4px 1px;
            }
            div#dvlogin input#login_btn {
                border: 1px solid #899690;
                margin: 5px auto;
                position: relative;
                display: block;
                width: 80px;
                cursor: pointer;
            }
            #footer p {
                font-family: Arial, Helvetica, sans-serif;
                position: relative;
                top: 60px;
                font-size: 13px;
                color: #333333;
            }
        </style>        
    </head>
    <body>
        <div id="header">
            <br />
            <p><br />
            </p>
        </div>

        <hr id="header_stripe"/>
        <div id="page_container">
            <div id="toppanel">
                <div id="panel">
                    <div id="panel_contents"></div>
                    <!-- <h1>Animated Top Panel</h1>
                     <h2> By Connor for Nettuts</h2>
                     <img class="border_pic" src="images/tutsplus.jpg" alt="Screenshot" />-->
                    <div class="border" id="dvlogin">
                        <form id="login-form" action="login.php" method="post">
                            <p>
                                <label for="login">Usuario:</label>
                                <input type="text" id="login" name="login" size="15" />
                            </p>
                            <div class="clear"></div>
                            <p>
                                <label for="password" >Contraseña:</label>
                                <input type="password" id="password" name="password" size="15"/>
                            </p>
                            <div class="clear"></div>
                            <p>
                                <input type="button" id="login_btn" value="Entrar" />	
                            </p>
                            <div class="clear"></div>
                        </form>
                    </div>
                </div>
                <div class="panel_button" style="display: visible;"><img src="images/expand.png"  alt="expand"/> <a >Login Here</a> </div>
                <div class="panel_button" id="hide_button" style="display: none;"><img src="images/collapse.png" alt="collapse" /> <a >Hide</a> </div>
            </div>
            <div id="content">

            </div>
            <div id="footer">

            </div>
        </div>
        <script src="js/jquery.js" type="text/javascript"></script>
        <script src="javascript.js" type="text/javascript"></script>
    </body>
</html>

